﻿using System;

namespace CSharpHelpers.IOs
{
    public class SystemLog
    {
        private static readonly log4net.ILog LogInfo = log4net.LogManager.GetLogger("logInfo");
        private static readonly log4net.ILog LogError = log4net.LogManager.GetLogger("logError");

        public static void Error(Exception e)
        {
            LogError.Error(e.ToString());
        }

        public static void Error(string e)
        {
            LogError.Error(e);
        }

        public static void Info(string e)
        {
            LogInfo.Error(e);
        }
    }
}
